package com.my.springboot.springbootspringdoc.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author: marshal
 * @date: 2024-11-11 18:00
 */
@Data
@Schema(description = "用户信息")
public class User {
    @Schema(description = "用户名", example = "marshal")
    private String name;
    @Schema(description = "年龄", example = "18")
    private Integer age;
    @Schema(description = "邮箱", example = "marshal@gmail.com")
    private String email;
}
